#pragma once
#include "gameobj.h"
#include <hgesprite.h>

class BgObj : public GameObj
{
public:
	BgObj(hgeSprite *Sprite,float _x,float _y,bool scroll);
	virtual ~BgObj();
	virtual void Update();
	virtual void Render();
	virtual hgeRect* getCollision(hgeRect* rect);

private:
	hgeSprite* m_sprite;
	float m_x,m_y;
	bool m_isScroll;
};
